This lab will illustrate how to use RMarkdown to create reproducible analyses.
Data-driven documents are formats that combine text and analysis (i.e. data and code). By combining everything in a single file, we promote transparency and reproducibility. For any given table, figure, or model in the document, you should be able to easily discern how it was created, from what data, and what analysis was used.
We will use the R Markdown format.
All of the document formats build from a simple text formatting convention called markdown.
To create an R Markdown document, you need three things:
You can select from many different document types, including HTML pages, Microsoft word, presentation formats, or dashboards.
Check out these examples:
R Markdown
Formats
R Markdown
Gallery